<extend name="Layout/dialog" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">短信管理</block>
<block name="controller">短信管理（漫道）</block>
<block name="action">短信管理</block>
<block name="desc"></block>
<block name="content">
<div class="box box-success">
	<div class="box-header with-border">
		<h3 class="box-title">新建短信</h3>
	</div>
	<form class="form-horizontal" action="{:U('send')}" method="post" rel-action="form" rel-success="reload()">
		<div class="box-body">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>手机号</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="mobile" placeholder="请输入手机号"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>模板</label>
				<div class="col-sm-10">
					<select class="form-control" rel-action="select" name="template">
						<option value="">请选择短信模板</option>
						<volist name="template" id="item">
						<if condition="'code' == $key">
							<option value="{$key}" selected>{$item}</option>
						<else />
							<option value="{$key}">{$item}</option>
						</if>
						</volist>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">内容</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="content" placeholder="选择[验证码模板]，不用填写内容。"  autocomplete="off">
				</div>
			</div>
		</div>
		<div class="box-footer">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">发送</button>
				<button type="button" class="btn btn-default" rel-action="dialog-close">关闭</button>
			</div>
		</div>
	</form>
</div>
</block>